package com.boot.down.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 系统红包表
 */
@Data
public class RedPaper implements Serializable {

    private static final long serialVersionUID = 5981022979420028491L;
    /** 红包Id*/
    private Long id;
    /** 用户Id*/
    private Integer userId;
    /** 红包总金额*/
    private BigDecimal price;
    /** 发红包的时间*/
    private Date createTime;
    /** 红包的个数*/
    private Integer smallCount;
    /** 小红包的金额*/
    private BigDecimal smallPrice;
    /** 剩余红包的金额*/
    private Integer smallSupCount;
    /** 版本*/
    private Integer version;
    /** 备注*/
    private String remark;
}
